package com.cnzhy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: zhaoyan5
 */
@SpringBootApplication
@MapperScan(basePackages = "com")
//@EnableConfigurationProperties(OssProperties.class)
@EnableTransactionManagement
public class TxAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(TxAppApplication.class, args);
    }

//    @Bean
//    public OssTemplate ossTemplate(OssProperties properties) {
//        return new OssTemplate(properties);
//    }

}
